/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package ccore.common;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

/**
 * <!-- begin-user-doc -->
 * The <b>Package</b> for the model.
 * It contains accessors for the meta objects to represent
 * <ul>
 *   <li>each class,</li>
 *   <li>each feature of each class,</li>
 *   <li>each enum,</li>
 *   <li>and each data type</li>
 * </ul>
 * <!-- end-user-doc -->
 * @see ccore.common.CommonFactory
 * @model kind="package"
 * @generated
 */
public interface CommonPackage extends EPackage {
	/**
	 * The package name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	String eNAME = "common";

	/**
	 * The package namespace URI.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	String eNS_URI = "http://common";

	/**
	 * The package namespace name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	String eNS_PREFIX = "common";

	/**
	 * The singleton instance of the package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	CommonPackage eINSTANCE = ccore.common.impl.CommonPackageImpl.init();

	/**
	 * The meta object id for the '{@link ccore.common.impl.CNodeImpl <em>CNode</em>}' class.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see ccore.common.impl.CNodeImpl
	 * @see ccore.common.impl.CommonPackageImpl#getCNode()
	 * @generated
	 */
	int CNODE = 1;

	/**
	 * The feature id for the '<em><b>CCore</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 * @ordered
	 */
	int CNODE__CCORE = 0;

	/**
	 * The number of structural features of the '<em>CNode</em>' class.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 * @ordered
	 */
	int CNODE_FEATURE_COUNT = 1;

	/**
	 * The meta object id for the '{@link ccore.common.impl.CElementImpl <em>CElement</em>}' class.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see ccore.common.impl.CElementImpl
	 * @see ccore.common.impl.CommonPackageImpl#getCElement()
	 * @generated
	 */
	int CELEMENT = 0;

	/**
	 * The feature id for the '<em><b>CCore</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 * @ordered
	 */
	int CELEMENT__CCORE = CNODE__CCORE;

	/**
	 * The feature id for the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 * @ordered
	 */
	int CELEMENT__NAME = CNODE_FEATURE_COUNT + 0;

	/**
	 * The feature id for the '<em><b>Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 * @ordered
	 */
	int CELEMENT__ID = CNODE_FEATURE_COUNT + 1;

	/**
	 * The number of structural features of the '<em>CElement</em>' class.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 * @ordered
	 */
	int CELEMENT_FEATURE_COUNT = CNODE_FEATURE_COUNT + 2;


	/**
	 * Returns the meta object for class '{@link ccore.common.CElement <em>CElement</em>}'.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the meta object for class '<em>CElement</em>'.
	 * @see ccore.common.CElement
	 * @generated
	 */
	EClass getCElement();

	/**
	 * Returns the meta object for the attribute '{@link ccore.common.CElement#getName <em>Name</em>}'.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the meta object for the attribute '<em>Name</em>'.
	 * @see ccore.common.CElement#getName()
	 * @see #getCElement()
	 * @generated
	 */
	EAttribute getCElement_Name();

	/**
	 * Returns the meta object for the attribute '{@link ccore.common.CElement#getId <em>Id</em>}'.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the meta object for the attribute '<em>Id</em>'.
	 * @see ccore.common.CElement#getId()
	 * @see #getCElement()
	 * @generated
	 */
	EAttribute getCElement_Id();

	/**
	 * Returns the meta object for class '{@link ccore.common.CNode <em>CNode</em>}'.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the meta object for class '<em>CNode</em>'.
	 * @see ccore.common.CNode
	 * @generated
	 */
	EClass getCNode();

	/**
	 * Returns the meta object for the reference '{@link ccore.common.CNode#getCCore <em>CCore</em>}'.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the meta object for the reference '<em>CCore</em>'.
	 * @see ccore.common.CNode#getCCore()
	 * @see #getCNode()
	 * @generated
	 */
	EReference getCNode_CCore();

	/**
	 * Returns the factory that creates the instances of the model.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the factory that creates the instances of the model.
	 * @generated
	 */
	CommonFactory getCommonFactory();

	/**
	 * <!-- begin-user-doc -->
	 * Defines literals for the meta objects that represent
	 * <ul>
	 *   <li>each class,</li>
	 *   <li>each feature of each class,</li>
	 *   <li>each enum,</li>
	 *   <li>and each data type</li>
	 * </ul>
	 * <!-- end-user-doc -->
	 * @generated
	 */
	interface Literals {
		/**
		 * The meta object literal for the '{@link ccore.common.impl.CElementImpl <em>CElement</em>}' class.
		 * <!-- begin-user-doc -->
		 * <!-- end-user-doc -->
		 * @see ccore.common.impl.CElementImpl
		 * @see ccore.common.impl.CommonPackageImpl#getCElement()
		 * @generated
		 */
		EClass CELEMENT = eINSTANCE.getCElement();

		/**
		 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
		 * <!-- begin-user-doc -->
		 * <!-- end-user-doc -->
		 * @generated
		 */
		EAttribute CELEMENT__NAME = eINSTANCE.getCElement_Name();

		/**
		 * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
		 * <!-- begin-user-doc -->
		 * <!-- end-user-doc -->
		 * @generated
		 */
		EAttribute CELEMENT__ID = eINSTANCE.getCElement_Id();

		/**
		 * The meta object literal for the '{@link ccore.common.impl.CNodeImpl <em>CNode</em>}' class.
		 * <!-- begin-user-doc -->
		 * <!-- end-user-doc -->
		 * @see ccore.common.impl.CNodeImpl
		 * @see ccore.common.impl.CommonPackageImpl#getCNode()
		 * @generated
		 */
		EClass CNODE = eINSTANCE.getCNode();

		/**
		 * The meta object literal for the '<em><b>CCore</b></em>' reference feature.
		 * <!-- begin-user-doc -->
		 * <!-- end-user-doc -->
		 * @generated
		 */
		EReference CNODE__CCORE = eINSTANCE.getCNode_CCore();

	}

} //CommonPackage
